package nsu.edu.zsq.param;

import javax.validation.constraints.Min;

import lombok.Getter;
import lombok.Setter;

/** 
* Description: 对页码、页码数量等分页数据的封装<br>
*/

@Setter
@Getter
public class PageQuery {

    /**
     * 当前页码
     */
    @Min(value = 1, message="当前页码不合法")
    private int pageNum = 1;
    
    /**
     * 每页的数量
     */
    private int pageSize = 6;
    
    /**
     * 导航页码数
     */
    private int navigatePages = 5;
}
